package com.fgw.service;

import com.fgw.common.ServerResponse;
import com.fgw.pojo.Teacher;
import com.fgw.vo.TeacherlibVo;
import com.github.pagehelper.PageInfo;

/**
 * Created by lcx on 2017/9/13.
 */
public interface ITeacherlibService {

    /**
     * 师资库查询
     * @return
     */
    ServerResponse<TeacherlibVo> getTeacherlibList();

    /**
     * 师资登录
     * @param tuser
     * @param tpassword
     * @return
     */
    ServerResponse<Teacher> login(String tuser, String tpassword);

    /**
     * 后台分页查询师资库

     * @return
     */
    ServerResponse<PageInfo> getTeacherManagerList(Integer pageNum, Integer pageSize, char c);
}
